Socket
Socket
Sign inDemoInstall

testx-jasmine-reporters

Package Overview
Dependencies
8
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    testx-jasmine-reporters

A package for quick and easy installation of Jasmine reporters.


Version published
Weekly downloads
196
increased by8.89%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

testx-jasmine-reporters

A package for quick and easy installation of Jasmine reporters.

Usage

To add Jasmine reports to your test run

  reporters = require 'testx-jasmine-reporters'
  reporters
    junit: # set to false to omit this reporter
      dir: 'results/junit' # defaults to 'testresults/junit'
      file: 'junit-' # defaults to 'junit'
    html:  # set to false to omit this reporter
      dir: 'testresults/html' # defaults to 'testresults/html'
    spec:  # set to false to omit this reporter
      displayStacktrace: false # defaults to false

You can have all reports installed with their default values if you omit the corresponding options attribute. This means that if you just invoke it without an argument all reporters will be added with their default values, i.e.

  require('testx-jasmine-reporters')()

If you do not want to add certain reporter simply set the corresponding option attribute to false. For example if you do not want to use the HTML reporter do

  reporters
    html: false

Keywords

FAQs

Last updated on 31 Oct 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc